package cn.knightzz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 党员表
 * </p>
 *
 * @author knightzz
 * @since 2021-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysMember对象", description="党员表")
public class SysMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "党员信息id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "党员姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "手机号")
    private Integer phone;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "街道辖区")
    private String area;

    @ApiModelProperty(value = "政治面貌")
    private String type;

}
